package org.tedu.day04mybatis.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.tedu.day04mybatis.pojo.User;

@Mapper
public interface UserMapper {

    @Insert("INSERT INTO user(username,password,nickname,created,age) VALUES(#{username},#{password},#{nickname},#{created},#{age})")
    int insert(User user);
}
